<!DOCTYPE html>
<!--解决idea thymeleaf 表达式模板报红波浪线-->
<!--suppress ALL -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 引入公用部分 -->
    <script th:replace="head::static"></script>
    <!-- 样式 -->
    <link th:href="@{/css/seller/seller.css}" rel="stylesheet" type="text/css"/>
</head>
<body>

	<form id="refForm" class="layui-form layui-form-pane">
  
		<div class="layui-form-item">
			<label class="layui-form-label required">商户</label>
			<div class="layui-input-block layui-form" lay-filter="sellerIdfilter">
				<select name="sellerId">
					<option value="-1">请选择商户</option>
				</select>
			</div>
		</div>
        <div class="layui-form-item">
            <label class="layui-form-label required">代理商</label>
            <div class="layui-input-block layui-form" lay-filter="agentIdfilter">
				<select name="agentId">
					<option value="-1">请选择代理商</option>
				</select>
			</div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label required">签约点数</label>
                <div class="layui-input-block">
                <input type="text" name="serverAmountPoint" lay-verify="required|number"
                		autocomplete="off" placeholder="签约点数"
                       	class="layui-input">%
            	</div>
            </div>
        </div>
        
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label required">服务费计算方式</label>
            </div>
        </div>
        
        <div class="layui-form-item">
            <div class="layui-inline" align="center">
                <div class="layui-input-block"> 
                <input type="radio" name="serviceFormula" value="1" title="方案一(发放金额*费率)" checked="">
      			<input type="radio" name="serviceFormula" value="2" title="方案二(充值金额*费率)">
    			</div>
            </div>
        </div>
        
	</form>
	<div class="layui-form-item">
        <div class="layui-input-block">
        	<a class="layui-btn" onclick="refFormSave()">新增关联</a>
	    </div>
	</div>

</body>
<!-- js -->
<script th:src="@{/js/seller/ref/refform.js}"></script>
</html>